package com.hzw.saas.service.rss.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzw.saas.service.rss.model.LibraryCatalog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface LibraryCatalogMapper extends BaseMapper<LibraryCatalog> {

    @Select("<script>select * from tb_library_catalog  a where a.creator_id = #{userId}</script>")
    List<LibraryCatalog> findHistory(@Param("userId") String userId);
}
